package com.beantools.constants;

/**
 * 框架所需要的系统常量，比如文件的后缀名，类文件，项目根路径，操作系统
 *
 * @author baoya
 * @version 1.1.0
 * @see com.beantools.filters.MethodFilters
 * @since 1.0
 */
public class FrameConstant {

    /**
     * class字符
     */
    public static final String ROOT_CLASS_OBJECT = "Object";

    /**
     * void字符
     */
    public static final String ROOT_CLASS_VOID = "void";

    /**
     * class字符
     */
    public static final String SYSTEM_CLASS = "class";

    /**
     * 文件的后缀名
     */
    public static final String JSON_FILE_SUFFIX = ".json";

    /**
     * java 文件的后缀名
     */
    public static final String JAVA_FILE_SUFFIX = ".java";


    /**
     * true 条件
     */
    public static final String CONDITION_TRUE = "true1YTTRUEyt";

    /**
     * false 条件
     */
    public static final String CONDITION_FALSE = "false0FNFALSE0n";

    /**
     * 项目的根路径
     */
    public static final String ROOT_PATH = System.getProperty("user.dir");

    /**
     * 操作系统
     */
    public static final String SYSTEM_OS = System.getProperty("os.name");


    /**
     * linux操作系统
     */
    public static final String SYSTEM_OS_LINUX = "Linux";

    /**
     * windows操作系统，比如Windows 7，Windows8 Windows 9
     */
    public static final String SYSTEM_OS_WINDOWS = "Windows";


    /**
     * 文件类型
     */
    public static final String FILE_TYPE = "file";

    /**
     * jar 类型
     */
    public static final String JAR_TYPE = "jar";

}
